<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>image</title>
    <style>
        #img{
            width: 100%;
            height:auto;
        }
        #index{
            margin: auto;
            width: 40%;
            height:auto;
        }
    </style>
</head>
<body>
<a href='javascript:history.go(-1)'>返回</a>
<div id="index">

    <img src="{$url}"  id="img"  alt="aaaa">

</div>

</body>
</html>